\hypertarget{class_view}{}\section{View类 参考}
\label{class_view}\index{View@{View}}


视图类  




{\ttfamily \#include $<$view.\+h$>$}

类 View 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_view}
\end{center}
\end{figure}
\subsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_view_a23bf47b5e5888e35781307cc7507181f}{}\hyperlink{class_view_a23bf47b5e5888e35781307cc7507181f}{View} (\hyperlink{class_model}{Model} $\ast$model, Q\+Widget $\ast$parent=0)\label{class_view_a23bf47b5e5888e35781307cc7507181f}

\begin{DoxyCompactList}\small\item\em A construtor. \end{DoxyCompactList}\item 
\hypertarget{class_view_ad0dc854db9aabbea98a334dec89f785c}{}\hyperlink{class_view_ad0dc854db9aabbea98a334dec89f785c}{$\sim$\+View} ()\label{class_view_ad0dc854db9aabbea98a334dec89f785c}

\begin{DoxyCompactList}\small\item\em A destructor. \end{DoxyCompactList}\item 
void \hyperlink{class_view_a647f520f9b348ce40bfcd9cd1969d3b2}{rotate\+View} (float theta\+X, float theta\+Y, float theta\+Z)
\begin{DoxyCompactList}\small\item\em 旋转视图 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected 成员函数}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_view_a30c0d555aa48a2d581238f6e12c500a1}{}void {\bfseries initialize\+G\+L} () Q\+\_\+\+D\+E\+C\+L\+\_\+\+O\+V\+E\+R\+R\+I\+D\+E\label{class_view_a30c0d555aa48a2d581238f6e12c500a1}

\item 
\hypertarget{class_view_af2c68923c2b1775a38529ba49f99877d}{}void {\bfseries resize\+G\+L} (int width, int height) Q\+\_\+\+D\+E\+C\+L\+\_\+\+O\+V\+E\+R\+R\+I\+D\+E\label{class_view_af2c68923c2b1775a38529ba49f99877d}

\item 
\hypertarget{class_view_a4054f0018a33be8db2a2d048e8e79e14}{}void {\bfseries paint\+G\+L} () Q\+\_\+\+D\+E\+C\+L\+\_\+\+O\+V\+E\+R\+R\+I\+D\+E\label{class_view_a4054f0018a33be8db2a2d048e8e79e14}

\item 
\hypertarget{class_view_a1ec6a49f56472d12f37c4a2fccc62392}{}void {\bfseries init\+V\+B\+O} (Q\+Open\+G\+L\+Buffer \&vbo, const Q\+Vector$<$ G\+Lfloat $>$ \&data)\label{class_view_a1ec6a49f56472d12f37c4a2fccc62392}

\item 
\hypertarget{class_view_a918d2a4cd065811dfc7e4e513a1cc3b9}{}Q\+Matrix4x4 {\bfseries paint\+Base} (Q\+Matrix4x4 \&mv\+Matrix)\label{class_view_a918d2a4cd065811dfc7e4e513a1cc3b9}

\item 
\hypertarget{class_view_aaac6dd800eb6b65b9c87260c38633708}{}Q\+Matrix4x4 {\bfseries paint\+Master} (Q\+Matrix4x4 \&mv\+Matrix)\label{class_view_aaac6dd800eb6b65b9c87260c38633708}

\item 
\hypertarget{class_view_acd84d7f155e50a5d4e628f2726053ad3}{}Q\+Matrix4x4 {\bfseries paint\+Assistant} (Q\+Matrix4x4 \&mv\+Matrix)\label{class_view_acd84d7f155e50a5d4e628f2726053ad3}

\item 
\hypertarget{class_view_ab6483d3456cd0b1b49b35012dca4c10d}{}Q\+Matrix4x4 {\bfseries paint\+Bar} (Q\+Matrix4x4 \&mv\+Matrix)\label{class_view_ab6483d3456cd0b1b49b35012dca4c10d}

\end{DoxyCompactItemize}


\subsection{详细描述}
视图类 

\subsection{成员函数说明}
\hypertarget{class_view_a647f520f9b348ce40bfcd9cd1969d3b2}{}\index{View@{View}!rotate\+View@{rotate\+View}}
\index{rotate\+View@{rotate\+View}!View@{View}}
\subsubsection[{rotate\+View}]{\setlength{\rightskip}{0pt plus 5cm}void View\+::rotate\+View (
\begin{DoxyParamCaption}
\item[{float}]{theta\+X, }
\item[{float}]{theta\+Y, }
\item[{float}]{theta\+Z}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{class_view_a647f520f9b348ce40bfcd9cd1969d3b2}


旋转视图 


\begin{DoxyParams}{参数}
{\em theta\+X} & 绕x轴角度 \\
\hline
{\em theta\+Y} & 绕y轴角度 \\
\hline
{\em theta\+Z} & 绕z轴角度 \\
\hline
\end{DoxyParams}


该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
view.\+h\item 
view.\+cpp\end{DoxyCompactItemize}
